package com.kgc.springboot.hangduo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Catalog {
    private Integer id;

    private String catalog;

    private Integer lawsId;

    private Integer superior;

    private Integer sequence;

    private List<Catalog> catalogList;

    private List<Clause> clause;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCatalog() {
        return catalog;
    }

    public void setCatalog(String catalog) {
        this.catalog = catalog == null ? null : catalog.trim();
    }

    public Integer getLawsId() {
        return lawsId;
    }

    public void setLawsId(Integer lawsId) {
        this.lawsId = lawsId;
    }

    public Integer getSuperior() {
        return superior;
    }

    public void setSuperior(Integer superior) {
        this.superior = superior;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }
}